/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package session;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import persistence.Mensajes;

/**
 *
 * @author pabloavila
 */
@Stateless
public class MensajesFacade extends AbstractFacade<Mensajes> {
    @PersistenceContext(unitName = "elTabique-ejbPU")
    private EntityManager em;

    protected EntityManager getEntityManager() {
        return em;
    }

    public MensajesFacade() {
        super(Mensajes.class);
    }

}
